package itbour.onetouchshow.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/7/10.
 * <p>
 * 自由创建预览
 */

public class CustomVideoPreviewBean {


    /**
     * docNm : 我的作品
     * id : 2681
     * video : {"videoUrl":"http://itbour-generate.itbour.com/video/U33/2018/07/10/182309211_OtdxobHyOYavWVnbtQD2/0.mp4","videoSize":390908,"duration":7,"h":1080,"thumbs":["http://itbour-generate.itbour.com/video/U33/2018/07/10/182309211_OtdxobHyOYavWVnbtQD2/thumb.jpg"],"w":1920}
     * createDay : 2018-07-10
     * opType : 4
     */

    private String docNm;
    private int id;
    private VideoBean video;
    private String createDay;
    private int opType;

    public String getDocNm() {
        return docNm;
    }

    public void setDocNm(String docNm) {
        this.docNm = docNm;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public VideoBean getVideo() {
        return video;
    }

    public void setVideo(VideoBean video) {
        this.video = video;
    }

    public String getCreateDay() {
        return createDay;
    }

    public void setCreateDay(String createDay) {
        this.createDay = createDay;
    }

    public int getOpType() {
        return opType;
    }

    public void setOpType(int opType) {
        this.opType = opType;
    }

    public static class VideoBean {
        /**
         * videoUrl : http://itbour-generate.itbour.com/video/U33/2018/07/10/182309211_OtdxobHyOYavWVnbtQD2/0.mp4
         * videoSize : 390908
         * duration : 7
         * h : 1080
         * thumbs : ["http://itbour-generate.itbour.com/video/U33/2018/07/10/182309211_OtdxobHyOYavWVnbtQD2/thumb.jpg"]
         * w : 1920
         */

        private String videoUrl;
        private int videoSize;
        private double duration;
        private int h;
        private int w;
        private List<String> thumbs;

        public String getVideoUrl() {
            return videoUrl;
        }

        public void setVideoUrl(String videoUrl) {
            this.videoUrl = videoUrl;
        }

        public int getVideoSize() {
            return videoSize;
        }

        public void setVideoSize(int videoSize) {
            this.videoSize = videoSize;
        }

        public double getDuration() {
            return duration;
        }

        public void setDuration(double duration) {
            this.duration = duration;
        }

        public int getH() {
            return h;
        }

        public void setH(int h) {
            this.h = h;
        }

        public int getW() {
            return w;
        }

        public void setW(int w) {
            this.w = w;
        }

        public List<String> getThumbs() {
            return thumbs;
        }

        public void setThumbs(List<String> thumbs) {
            this.thumbs = thumbs;
        }
    }
}
